home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / windownt / uupc11xd.zip / SAMPLE.MDM < prev    next >
Text File  |  1992-08-29  |  12KB  |  208 lines

  1. # *--------------------------------------------------------------------*
  2. # *         Sample modem configuration file for UUPC/extended          *
  3. # *         Send questions to help@kew.com                             *
  4. # *--------------------------------------------------------------------*
  5.  
  6. # *--------------------------------------------------------------------*
  7. # *          Begin information common to dial in and dial out          *
  8. # *--------------------------------------------------------------------*
  9.  
  10. # *--------------------------------------------------------------------*
  11. # *     Delay between characters sent to the modem.  Allows            *
  12. # *     time for echoing characters sent if the modem is brain         *
  13. # *     damaged.  Unlike other values in this file, the value is       *
  14. # *     in Milliseconds (1/1000 second).                               *
  15. # *--------------------------------------------------------------------*
  16. CharDelay=0
  17.  
  18. # *--------------------------------------------------------------------*
  19. # *     Time in seconds allowed for the modem to respond for           *
  20. # *     commands which do not otherwise have configuration             *
  21. # *     parameters.                                                    *
  22. # *--------------------------------------------------------------------*
  23. ModemTimeout=3
  24.  
  25. # *--------------------------------------------------------------------*
  26. # *     Port used by this modem                                        *
  27. # *--------------------------------------------------------------------*
  28. Device=COM1
  29.  
  30. # *--------------------------------------------------------------------*
  31. # *     Initialize string for the modem; the actual commands, like     *
  32. # *     all the commands in this file, are for the Hayes SmartModem    *
  33. # *     2400.                                                          *
  34. # *--------------------------------------------------------------------*
  35. Initialize="" "" "" \pATZ OK \pATE0X1S0=0 OK \p\c
  36.  
  37. # *--------------------------------------------------------------------*
  38. # *   Hangup string.  Actually issued after DTR is dropped; can be     *
  39. # *   used to reinitialize modem to disable such functions as          *
  40. # *   auto-answer                                                      *
  41. # *--------------------------------------------------------------------*
  42. Hangup="" \pATZ OK
  43.  
  44. # *--------------------------------------------------------------------*
  45. # *     Error responses from modem.  These strings are used for        *
  46. # *     both dial-out and answer.  Whenever one of these strings       *
  47. # *     is found in the input when looking for other strings, the      *
  48. # *     dial or answer sequence is immediately failed.                 *
  49. # *--------------------------------------------------------------------*
  50. NoConnect="NO DIALTONE" "BUSY" "NO CARRIER" "VOICE"
  51.  
  52. # *--------------------------------------------------------------------*
  53. # *     Option "fixedspeed" forces the modem support code to not       *
  54. # *     autobaud the modem.  This is useful for highspeed modems like  *
  55. # *     the Telebit Trailblazer which run at a higher serial port      *
  56. # *     speed than the actual line speed.  The default,                *
  57. # *     "nofixedspeed", should be used for the Hayes SmartModem        *
  58. # *     1200/2400 and clones.                                          *
  59. # *--------------------------------------------------------------------*
  60. options=nofixedspeed
  61.  
  62. # *--------------------------------------------------------------------*
  63. # *   Option "direct" causes the computer to ignore hardware flow      *
  64. # *   control.  Unless you have an improperly wired system without     *
  65. # *   the Clear To Send (CTS) line, leave this as "nodirect".          *
  66. # *--------------------------------------------------------------------*
  67. options=nodirect
  68.  
  69. # *--------------------------------------------------------------------*
  70. # *     Option "variablepacket" enables packets shorter than the       *
  71. # *     size agreed to by systems when performing the 'g' handshake.   *
  72. # *     Most UNIX systems will bomb if you send short packets; newer   *
  73. # *     UUPC/extended (post 1.11q) systems will not.                   *
  74. # *--------------------------------------------------------------------*
  75. Options=NoVariablePacket
  76.  
  77. # *--------------------------------------------------------------------*
  78. # *     Options "carrierdetect" enables checking for the carrier on    *
  79. # *     the serial line.  If the carrier detect is turned on and then  *
  80. # *     off (the modem receives and loses the connection), the call    *
  81. # *     is aborted.  The call is also aborted if the DTR (modem        *
  82. # *     ready) line is dropped.                                        *
  83. # *--------------------------------------------------------------------*
  84. options=carrierdetect
  85.  
  86. # *--------------------------------------------------------------------*
  87. # *                 Begin outgoing dialing information                 *
  88. # *--------------------------------------------------------------------*
  89.  
  90. # *--------------------------------------------------------------------*
  91. # *     Prefix for dialing                                             *
  92. # *--------------------------------------------------------------------*
  93. DialPrefix=ATD
  94.  
  95. # *--------------------------------------------------------------------*
  96. # *     Suffix for dialing.  Normally not needed if the command is     *
  97. # *     terminated by the default character return                     *
  98. # *--------------------------------------------------------------------*
  99. #DialSuffix=
  100.  
  101. # *--------------------------------------------------------------------*
  102. # *       Time in seconds for the modem to connect after dialing       *
  103. # *--------------------------------------------------------------------*
  104. DialTimeout=40
  105.  
  106. # *--------------------------------------------------------------------*
  107. # *     The string expected after dialing.  This can be a full         *
  108. # *     chat script, although if the fixedspeed option is not set      *
  109. # *     (nofixedspeed) UUIO will expect the modem speed to follow      *
  110. # *     the connect string.  This is also true for Answer, below       *
  111. # *--------------------------------------------------------------------*
  112. Connect=CONNECT
  113.  
  114. # *--------------------------------------------------------------------*
  115. # *      Timeout for scripts in the SYSTEMS file for this modem.       *
  116. # *--------------------------------------------------------------------*
  117. ScriptTimeout=30
  118.  
  119. # *--------------------------------------------------------------------*
  120. # *     Beginning of information for incoming calls.  Note that if     *
  121. # *     you never plan to let UUCICO answer the phone by invoking it   *
  122. # *     in passive mode via the "-r 0" flag, you need not give         *
  123. # *     these keywords real values, although they must be defined.     *
  124. # *--------------------------------------------------------------------*
  125.  
  126. # *--------------------------------------------------------------------*
  127. # *                 Speed to answer the telephone at                   *
  128. # *--------------------------------------------------------------------*
  129. InSpeed=2400
  130.  
  131. # *--------------------------------------------------------------------*
  132. # *     A send expect string for the phone to ring; you can also       *
  133. # *     use this to turn on autoanswer -- See SX1200 for an example.   *
  134. # *     A disadvantage to this that we wait a VERY long time           *
  135. # *     (hours) waiting for each string in the ring sequence if        *
  136. # *     needed.                                                        *
  137. # *--------------------------------------------------------------------*
  138. Ring=RING
  139.  
  140. # *--------------------------------------------------------------------*
  141. # *     What we do when the phone rings; in this example, we tell      *
  142. # *     it to answer the phone.  If the phone was answered by the      *
  143. # *     Ring string above, this can the empty string ("").             *
  144. # *--------------------------------------------------------------------*
  145. Answer="" \pATA CONNECT
  146.  
  147. # *--------------------------------------------------------------------*
  148. # *     How much time we have for the expect strings to be             *
  149. # *     responded to in the Answer string above.                       *
  150. # *--------------------------------------------------------------------*
  151. AnswerTimeout=30
  152.  
  153. # *--------------------------------------------------------------------*
  154. # *   UUCP protocol information.                                       *
  155. # *                                                                    *
  156. # *   Normally, you never need to override the maximum values          *
  157. # *   allowed for various parameters allowed by the UUCP "g"           *
  158. # *   Protocol; however, some modems (including some TrailBlazers)     *
  159. # *   are hard coded to only allow 3 open windows, and older           *
  160. # *   releases of UUPC/extended will abort if presented with a bad     *
  161. # *   window size.  Thus, we allow the following overrides on a        *
  162. # *   per modem basis.                                                 *
  163. # *--------------------------------------------------------------------*
  164.  
  165. # *--------------------------------------------------------------------*
  166. # *                 Window size used by "g" procotol                   *
  167. # *--------------------------------------------------------------------*
  168. #GWindowSize=7
  169.  
  170. # *--------------------------------------------------------------------*
  171. # *                Packetsize allowed by "g" protocol in bytes         *
  172. # *--------------------------------------------------------------------*
  173. #GPacketSize=64
  174.  
  175. # *--------------------------------------------------------------------*
  176. # *           Timeout for packets by "g" protocol in seconds           *
  177. # *--------------------------------------------------------------------*
  178. #GPacketTimeout=10
  179.  
  180. # *--------------------------------------------------------------------*
  181. # *           Timeout for packets by "f" protocol in seconds           *
  182. # *--------------------------------------------------------------------*
  183. #FPacketTimeout=20
  184.  
  185. # *--------------------------------------------------------------------*
  186. # *   Packet size used by "f" protocol.  This doesn't matter much,     *
  187. # *   since we don't wait for the other side to acknowledge            *
  188. # *   packets in the "f" protocol, they just acknowledge the file.     *
  189. # *--------------------------------------------------------------------*
  190. #fPacketSize=256
  191.  
  192. # *--------------------------------------------------------------------*
  193. # *   Maximum errors allowed by protocols before connection is         *
  194. # *   given up on.  Total time to die on a hung connection is          *
  195. # *   often this count times the "g" packet timeout.                   *
  196. # *--------------------------------------------------------------------*
  197. #MaximumErrors=10
  198.  
  199. # *--------------------------------------------------------------------*
  200. # *   Transfer buffer size used by UUCICO.  Upping this parameter      *
  201. # *   will improve performance on small systems with no disk cache     *
  202. # *   if large numbers of small files (less than your new value        *
  203. # *   TransferBuffer) are sent.  This value must be less than          *
  204. # *   32000 or the amount of free space (less an additional fudge      *
  205. # *   factor) reported by dcpgpkt with -x 2, which is less.            *
  206. # *--------------------------------------------------------------------*
  207. TransferBuffer=512
  208.